package model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/6/4
 * @description 作者实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Author {
    @Schema(description = "作者ID")
    private Integer authorId;

    @Schema(description = "关联的用户ID")
    private Integer userId;

    @Schema(description = "笔名")
    private String penName;

    @Schema(description = "作者简介")
    private String introduction;

    @Schema(description = "粉丝数量")
    private Integer followerCount;

    @Schema(description = "成为作者的时间")
    private Date createTime;
}    